﻿using System;

namespace SmallDataBase.DTO
{
    /// <summary>
    /// 字段元数据
    /// </summary>
    public class FieldDTO
    {
        public string Name { get; set; }

        public object Value { get; set; }

        public Type FieldType { get; set; }

        /// <summary>
        /// 是否主键
        /// </summary>
        public bool IsPK { get; set; }

        /// <summary>
        /// 是否自增
        /// </summary>
        public bool IsAuto { get; set; }
    }
}